home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5412 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: mail2news.demon.co.uk!chrism.demon.co
  2. From: Chris Marriott <chris@chrism.demon.co.uk>
  3. Newsgroups: comp.lang.c,comp.os.ms-windows.programmer.misc
  4. Subject: Re: Generic C: Menu in DialogBox paint problems in Win3.1
  5. Date: Thu, 08 Feb 96 18:42:14 GMT
  6. Organization: None
  7. Message-ID: <823804934snz@chrism.demon.co.uk>
  8. References: <31197C2F.1F86@awa.com>
  9. Reply-To: chris@chrism.demon.co.uk
  10. X-NNTP-Posting-Host: chrism.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.30
  12. X-Mail2News-Path: chrism.demon.co.uk
  13.  
  14. In article <31197C2F.1F86@awa.com> Schull@awa.com "Jon Schull" writes:
  15.  
  16. >I am creating a small app which contains a menu in a dialog box.  I am
  17. >developing with Visual C++ v.1.52 using generic C api calls.  Everything
  18. >works fine under Windows95, but I get the following problem under Win 
  19. >3.1:
  20. >
  21. >The bottom 1/4 of the menu bar doesn't paint light gray, but rather 
  22. >picks up whatever happens to be behind the it at the time the dialog box 
  23. >is created.  This can include either parts of windows or the wallpaper.
  24.  
  25. This is a well-known bug in 16-bit Windows. Give the dialog a normal
  26. window frame style rather than the default "dialog frame" and it will
  27. go away.
  28.  
  29. Chris
  30. -- 
  31. --------------------------------------------------------------------------
  32.  Chris Marriott, Warrington, UK      | Author of SkyMap v3 award-winning 
  33.  chris@chrism.demon.co.uk            | shareware Win31/Win95 planetarium.
  34.             For full info, see http://www.execpc.com/~skymap  
  35.       Author member of Association of Shareware Professionals (ASP) 
  36. -------------------------------------------------------------------------- 
  37.  
  38.